package com.example.dem12;

import com.example.dem11.Dog;

/**
 * @program: xian-cheng
 * @description:
 * @author: 诸葛龙辰
 * @create: 2022-11-01 21:10
 **/
public class Test {
    public static void main(String[] args) {
        Pig pig = new Pig();
        pig.setName("野猪佩奇");

        Peiqi peiqi = new Peiqi();
        peiqi.setName("黑猪佩奇");
        pig.start();
        peiqi.start();

    }
}
